package com.study.model.book;

import com.study.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author yubao
 * @since 2022-10-30
 */
@Data
@ApiModel(description = "图书信息")
@TableName("category")
public class Category extends BaseEntity {

    private static final long serialVersionUID = 1L;



    /**
     * 书籍类别
     */
    @ApiModelProperty(value = "书籍类别")
    @TableField("category_name")
    private String categoryName;

    /**
     * 书籍类别描述
     */
    @ApiModelProperty(value = "书籍类别描述")
    @TableField("category_desc")
    private String categoryDesc;


}
